﻿//----------------------------------------------------------------
// Desc: 
// Edit: ShowLong, http://blog.csdn.net/showlong
//
// Date Created: 2009-10-15
//
// Update Date :            
//
// Copyright (c) Fuel4D (http://www.fuel4d.com), All rights reserved.
//
//----------------------------------------------------------------
#pragma once


class FAPI FUI_Picture : public FUI_Object
{
    FUI_DECLARE_CLASS(FUI_Picture)

public:
    FUI_Picture(EF_UI_WIDGET_TYPE t = eUWT_Picture);
    virtual void Render(EF_UI_RENDER_LAYER layer);
    virtual bool GetCursorResult(EF_UI_EVENT_TYPE t){ return false; }

protected:
    virtual void InitUIData(FUI_Object* father, fuWidgetBase* pData, FUI_Layout* layout);

protected:
    fuWidgetPicture* pPictureData;  // 控件数据地址
};